package com.app.model
import groovy.transform.CompileStatic
import groovy.transform.TypeChecked

import javax.ws.rs.FormParam

@CompileStatic
@TypeChecked
public class TUser implements Serializable {
    private Long id;

    @FormParam("name")
    private String name;

    @FormParam("pwd")
    private String pwd;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }
}